﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

public partial class TimKiemSP : System.Web.UI.Page
{
    DBConnection connect = new DBConnection();
    protected void Page_Load(object sender, EventArgs e)
    {
        String ProNames = Request.QueryString["ProName"].ToString();
        int Prices = int.Parse(Request.QueryString["Price"]);
        //string sql = "SELECT [ProId], [ProName], [Image], [Price] FROM [tblProduct] WHERE ([Price] > Prices)";
        DataList1.DataSource = connect.Seach_Product(Prices, ProNames);
        DataList1.DataBind();
    }
}